/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package knowledgebase.dao;

import java.util.List;
import knowledgebase.model.Document;
import knowledgebase.model.User;

/**
 *
 * @author eugene
 */
public interface DocumentDAO {
    public void updateDocument(Document doc);
    public String saveDocument(Document doc);
    public void removeDocument(String docId);
    public List<Document> findDocumentsByTitle(String docTitle);
    public void updateDocumentHierarchy(final String docId, final String hierarchy);
    public List<Document> getDocumentsByOwner(User owner);
    public Document getDocumentById(String id);
    public List<Document> getAllDocuments();
}
